package com.ziyun.pop.common.e.order;

import com.ziyun.pop.common.e.BaseEnum;

/**
 * 订单商品状态
 * @author gaosheng
 * @date 2018-09-14 10:47
 */
public enum OrderItemStatusEnum implements BaseEnum{
    UN_AUDITED(0, "待审核"),
    UN_ALLOTED(1, "待分配"),
    IN_PRODUCTION(2, "生产中"),
    PRODUCTION_FINISH(3, "生产完成"),
    DELIVERED(4, "已发货")
    ;

    private int id;
    private String describe;

    OrderItemStatusEnum(int id, String describe) {
        this.id = id;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return id;
    }

    @Override
    public String toCode() {
        return null;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
